<div  class="container">
    <div class="image-slider" #slider>
      <img *ngFor="let item of goodList; let i = index" src="{{item?.get('sliderImg')}}" (click)="goDetail(item)"/>
    </div>
    <div class="nav-section">
      <a *ngFor="let slider of sliders; let i = index" class="slide-button" [class.active]="currentIndex === i" (click)="navigateToSlide(i)"></a>
    </div>
  </div>